//
//  ZGLNewsModel.m
//  ZeegingLottery
//
//  Created by 李曌 on 2018/10/25.
//  Copyright © 2018 蒂埃里. All rights reserved.
//

#import "ZGLNewsModel.h"

@implementation ZGLNewsModel

@end


@implementation ZGLImageModel

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:_u forKey:@"u"];
    [aCoder encodeInteger:_h forKey:@"h"];
    [aCoder encodeInteger:_w forKey:@"w"];
    
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    
    if (self) {
        _u = [aDecoder decodeObjectForKey:@"u"];
        _h = [aDecoder decodeIntegerForKey:@"h"];
        _w = [aDecoder decodeIntegerForKey:@"w"];
        
    }
    
    return self;
}

@end
